home *** CD-ROM | disk | FTP | other *** search
/ Chip 2001 June / CHIP Haziran 2001.iso / prog / share / 04 / setup.exe / MM9.Cab / F1460_query.asp.9B3B646D_CB56_4EAE_BAB7_3E7E8E41A649 < prev    next >
Text File  |  2000-08-17  |  3KB  |  68 lines

  1. <!-- #INCLUDE VIRTUAL="/golive/config/include/utils.runtime5.asp" -->
  2. <!-- #INCLUDE VIRTUAL="/golive/config/include/ado.runtime5.asp" -->
  3. <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 3.2//EN">
  4. <html>
  5.  
  6.     <head>
  7.         <meta http-equiv="content-type" content="text/html;charset=iso-8859-1">
  8.         <meta name="generator" content="Adobe GoLive 5">
  9.         <title>Adding Dynamic Content Elements</title>
  10.         <%'Dynamic Link
  11.            set Product_InformationRecordSet = CreateObject("ADODB.RecordSet")
  12.            Product_InformationRecordSet.Open "select * from Products where Category = 'Saw Blades'", ConnectString("LooseScrews")
  13.            set Product_Information = WrapRecordSet(Product_InformationRecordSet, "ProductID")
  14.         %><meta name="site-config-URL" content="http://localhost/golive/config/">
  15.     </head>
  16.  
  17.     <body bgcolor="white">
  18.         <table border="0" cellpadding="15" cellspacing="0">
  19.             <tr>
  20.                 <td colspan="2" valign="top">
  21.                     <h2><font face="Arial,Helvetica,Geneva,Swiss,SunSans-Regular">Creating Simple Dynamic Elements</font></h2>
  22.                 </td>
  23.             </tr>
  24.             <tr>
  25.                 <td width="195" valign="top">
  26.                     <table border="0" cellpadding="5" cellspacing="0">
  27.                         <tr>
  28.                             <td valign="top">1.</td>
  29.                             <td><font face="Arial,Helvetica,Geneva,Swiss,SunSans-Regular">Click on the New button in the Dynamic Link palette and find the dynamic content you need for the page.</font></td>
  30.                         </tr>
  31.                         <tr>
  32.                             <td valign="top">2.</td>
  33.                             <td><font face="Arial,Helvetica,Geneva,Swiss,SunSans-Regular">Select a placeholder element.</font></td>
  34.                         </tr>
  35.                         <tr>
  36.                             <td valign="top">3.</td>
  37.                             <td><font face="Arial,Helvetica,Geneva,Swiss,SunSans-Regular">Click the checkbox next to the dynamic element that should replace it.</font></td>
  38.                         </tr>
  39.                         <tr>
  40.                             <td valign="top">4.</td>
  41.                             <td><font face="Arial,Helvetica,Geneva,Swiss,SunSans-Regular">Click the gear icon in the upper right corner of the palette to highlight all dynamic elements on the page.</font></td>
  42.                         </tr>
  43.                     </table>
  44.                 </td>
  45.                 <td valign="top">
  46.                     <table border="1" cellpadding="10" cellspacing="0">
  47.                         <tr>
  48.                             <td bgcolor="#cccc99"><font face="Arial,Helvetica,Geneva,Swiss,SunSans-Regular"><b>Dynamic Output </b></font></td>
  49.                         </tr>
  50.                         <tr>
  51.                             <td valign="top">Product Type: <%=Product_Information.Value("Type")%><br>Price: $<%=Product_Information.Value("Price")%><br>
  52.                                 <p><img src='<%=Product_Information.Value("ImageURL")%>'></td>
  53.                         </tr>
  54.                     </table>
  55.                     <p><img height="11" width="153" src="images/copyright.gif"></td>
  56.             </tr>
  57.         </table>
  58.     </body>
  59.  
  60. </html>
  61. <% if 0 then %>
  62. <!-- Mock Content
  63.    Product_Information:Type {Rubber Ducky}
  64.    Product_Information:Price {100}
  65.    Product_Information:ImageURL {images/ducky.jpg}
  66. -->
  67. <% end if %>
  68.